Versions:

  • 0.16.1
  • 0.15.0
  • 0.14.0
  • 0.13.0
  • 0.10.0
  • 0.6.0
  • 0.5.1
  • 0.3.1
  • 0.3.0
  • 0.2.0

Mergiraf, currently at version 0.16.1 and offered in ten incremental releases by publisher Antonin Delpeuch, is a syntax-aware Git merge driver designed to resolve version-control conflicts in a widening spectrum of programming languages and structured file formats. By parsing the concrete syntax trees of each contributor’s copy, the tool can detect and automatically reconcile changes that conventional line-based algorithms flag as irreconcilable, such as simultaneous edits to disjoint functions, reordered import blocks, or renamed variables within the same scope. Users invoke Mergiraf as a standard merge driver in any Git repository; once configured, it intervenes during git merge, git rebase, or cherry-pick operations, returning a conflict-free file whenever the abstract syntax trees remain compatible. Languages already shipping with declarative grammar modules include Python, JavaScript-JSON, Go, Rust, Java, C/C++, HTML, CSS, YAML, and TOML, while new grammars can be added by supplying a tree-sitter parser and a short JSON description—no imperative scripting required. Typical use cases span open-source collaboration on shared libraries, enterprise teams maintaining configuration files in Infrastructure-as-Code workflows, and educators merging student submissions that repeatedly touch overlapping syntactic regions. The driver operates as a cross-platform binary that respects .gitattributes filters, produces standard conflict markers on the rare occasions it cannot unify trees, and leaves the working directory unchanged when manual resolution is unavoidable. Because every release refines both language coverage and parser accuracy, contributors are encouraged to keep the utility updated. Mergiraf is available for free on get.nero.com, with downloads provided via trusted Windows package sources such as winget, always delivering the latest version and supporting batch installation of multiple applications.

Tags: